package com.chalk.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoqiang
 * @Description 平台用户角色关联信息
 * @date 2019/3/22 17:52
 */
@ApiModel(value = "SysUserRoleRelated", description = "平台用户角色关联信息")
@Data
@TableName("t_sys_user_role_related")
public class SysUserRoleRelated {

    public SysUserRoleRelated() {
    }

    public SysUserRoleRelated(String roleId, String userId) {
        this.roleId = roleId;
        this.userId = userId;
    }

    /**
     * 角色ID
     */
    @ApiModelProperty(name = "roleId", value = "角色ID")
    @TableField("role_id")
    private String roleId;

    /**
     * 用户ID
     */
    @ApiModelProperty(name = "userId", value = "用户ID")
    @TableField("user_id")
    private String userId;
}
